New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the platter tab, can you move some of the top icons 5 pixels to the right? #2436
Comments
No, I can't. Sorry. |
I'll make some images/icons that are 5 pixels longer on one side then ^^ |
Maybe |
I fixed the files and everything looks heaps better. I also made 3 types of cogs as they are used in different areas. The settings cog name on the 2D tab should be cog2.png I can make them look nicer later on if you like as well. http://a4jp.com/3d-files/bugs/icons.zip Margins in the code later on would be good though. |
I found you can also use text like a bitmap. You could just add spaces if there isn't another way: http://members.inode.at/w.laun/cookbook/cookbook.html The Task Rather than labelling your buttons with text, you would like to use symbols represented by bitmaps. use strict; my %Bitmap; $Bitmap{bm_print} = <<TheEnd; ... more assignments to %Bitmap hash entries ...sub setupScreen(){ PackBitmaps( $winMain, %Bitmap ); my $frmMenu = $winMain->Frame()->pack(); my $frmSel = $winMain->Frame(); my $but; } sub PackBitmaps($$){ setupScreen(); The key function of Perl/Tk in this example is DefineBitmap, creating a bitmap for later use: Don't overlook the labor-saving possibility of using reverse to obtain symmetric bitmaps. To flip the bitmap upside down, use this: my @lines = reverse( split( /\s_\n/, $bmref->{$bmkey} ) ); |
Or -padx => amount, -pady => amount https://www.safaribooksonline.com/library/view/mastering-perltk/1565927168/ch04s13.html How to Create a Bitmap a The technique for using bitmaps introduced in the next example uses a simple text representation of the bitmap. While this may be put together with a text editor, on Unices there is a set of custom tools. The special purpose bitmap editor is called bitmap and creates the X Window System representation of a bitmap, typically stored on a file with the .xbm extension. Such files contain text (also fit for inclusion in a C program), e.g. static unsigned char abmask_bits[] = { |
Perl/Tk Pocket Reference ★ padx and pady can be used with Lable, Message, Menubutton and Radiobutton.For example: use strict; my @bitmaps = qw ( error gray25 gray50 hourglass info my ($mw, $bm); $mw = MainWindow->new(); foreach $bm (@bitmaps) { MainLoop; |
@a4jp-com did anything actually noticably change? |
I'll download and try ^^ |
Much appreciated. :) The more things I can legitimately close the better. "Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics. On Thu, Jul 7, 2016 at 10:45 PM, a4jp-com notifications@github.com wrote:
|
The interface looks a bit better than before but the padding is still wrong. |
On the platter tab can you move some of the top icons 5 pixels to the right? This is just to make the program look nicer.
Slic3r 1.2.2-dev
Windows 7 64-bit
The text was updated successfully, but these errors were encountered: